/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package commonClasses.Messages;

import commonClasses.*;
import commonClasses.commonInterfaces.MsgIntf;
import commonClasses.commonInterfaces.ProtocolIntf;

/**
 *
 * @author Pozytywny!
 */
public class AckMsg extends Msg implements MsgIntf {

    public AckMsg(ProtocolIntf protocolIntf) {
        super(protocolIntf, MagicNumbers.ACK_MSG_NR);
    }

    public void receive() throws Exception {
        //nic nie robi.
    }

    public void send() throws Exception {
        Utils.write("wysyłam ACK");
        int msgID[] = idToIntArr();
        sendIntArr(msgID);
    }
}
